//
//  FRPGalleryViewModel.m
//  FunctionalReactivePixels
//
//  Created by sun on 15/7/16.
//  Copyright (c) 2015年 sunfei. All rights reserved.
//

#import "FRPGalleryViewModel.h"
#import "FRPPhotoImporter.h"

@implementation FRPGalleryViewModel

- (instancetype)init {
    self = [super init];
    if (self) {
        RAC(self, model) = [[[FRPPhotoImporter importPhotos] logError] catchTo:[RACSignal empty]];
    }
    return self;
}

@end
